﻿using FreeSql.DataAnnotations;
using System.ComponentModel.DataAnnotations;
using System.Diagnostics.CodeAnalysis;

namespace BBCore.Core.Models.OracleEntity.BOM
{
    /// <summary>
    /// 部品基本资料表
    /// </summary>
    [Table(Name = "MTL_SYSTEM_ITEMS_B",DisableSyncStructure =true)]
    public class MSI
    {
        [NotNull]
        [Display(Name = "部品ID")]
        public int INVENTORY_ITEM_ID { get; set; }
        [NotNull]
        [Display(Name = "组织ID")]
        public int ORGANIZATION_ID { get; set; }
        [NotNull]
        [Display(Name = "部品号")]
        [MaxLength(50)]
        public string? SEGMENT1 { get; set; }

        [NotNull]
        [Display(Name = "部品描述")]
        public string? DESCRIPTION { get; set; }
        [NotNull]
        [Display(Name = "部品类型")]
        public string? ITEM_TYPE { get; set; }
    }
}
